<?php
    require('DomainObject.php');
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

    class BookmarkDO extends DomainObject{
        private $name;
        private $menuItem;
        private $userId;
        private $restaurantId;
        
        function __construct($name, $menuItem, $userId, $restaurantId) {
            $this->name = $name;
            $this->menuItem = $menuItem;
            $this->userId = $userId;
            $this->restaurantId = $restaurantId;
        }
        
        public function getName() {
            return $this->name;
        }

        public function getMenuItem() {
            return $this->menuItem;
        }

        public function getUserId() {
            return $this->userId;
        }

        public function getRestaurantId() {
            return $this->restaurantId;
        }

        public function setName($name) {
            $this->name = $name;
        }

        public function setMenuItem($menuItem) {
            $this->menuItem = $menuItem;
        }

        public function setUserId($userId) {
            $this->userId = $userId;
        }

        public function setRestaurantId($restaurantId) {
            $this->restaurantId = $restaurantId;
        }



    }
?>
